﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YiYiTong.Rocket.Model
{
    /// <summary>
    /// api请求参数
    /// </summary>
    public class ApiHttpRequest
    {
        /// <summary>
        /// 商户号
        /// </summary>
        public string merNo { get; set; }
        /// <summary>
        /// unix 时间戳
        /// </summary>

        public string timeStamp { get; set; }
        /// <summary>
        /// 接口名称，如：account.getinfo 必填
        /// </summary>

        public string service { get; set; }

        /// <summary>
        /// 用户状态，如果不需要状态的就传空字符串就行了“”选填
        /// </summary>
        public string token { get; set; }
        /// <summary>
        /// 渠道来源 android,ios等
        /// </summary>
        public string channel { get; set; }

        /// <summary>
        /// 版本号 默认：v1.0
        /// </summary>

        public string version { get; set; }
        /// <summary>
        /// 具体接口请求参数，json格式字符串并进行base64编码
        /// </summary>

        public string data { get; set; }

        /// <summary>
        /// 机器码
        /// </summary>
        public string machineCode { get; set; }
        /// <summary>
        /// 签名
        /// </summary>

        public string sign { get; set; }
    }
}
